package com.bwda.dsrs.filecenter.service;

import com.bwda.dsrs.filecenter.domain.po.kmsscene.KmsScenePo;
import com.bwda.dsrs.filecenter.domain.condition.kmsscene.KmsSceneCondition;

/**
 * Kms scene service
 * @author Administrator
 */
public interface KmsSceneService extends BaseService<KmsScenePo, KmsSceneCondition> {
    /**
     * Delete by ids *
     *
     * @param sceneId scene id
     */
    void deleteByIds(Integer[] sceneId);

    /**
     * 根据秘钥-场景-code名称是否已存在
     *
     * @param po 秘钥策略
     * @return int
     */
    int countByTaskCode(KmsScenePo po);
}